import { createApp } from 'vue'
import App from './App.vue'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
 
import {createPinia } from 'pinia'// 引用
const app = createApp(App)


// 创建Pinia实例
const Pinia = createPinia()


// 挂载pinia
app.use(Pinia)
Pinia.use(piniaPluginPersistedstate);

app.mount('#app')
